﻿using ApiLib.AppStart;
using SqlSugar;

namespace ApiLib.Models;

/// <summary>
/// 收藏信息
///</summary>
[Tenant(GlobalConstants.MainDbConfigId), SugarTable("sys_favor_info")]
public class SysFavorInfo: BaseEntityIdentity
{
    /// <summary>
    /// 数据类型 
    ///</summary>
    [SugarColumn(ColumnName = "data_type")]
    public string DataType { get; set; }

    /// <summary>
    /// 数据ID 
    ///</summary>
    [SugarColumn(ColumnName = "data_id")]
    public int DataId { get; set; }
    
    /// <summary>
    /// 是否删除
    ///</summary>
    [SugarColumn(ColumnName = "is_delete")]
    public bool IsDelete { get; set; }
}